{php include template("admin/header");}

<div class="midder">
{php include template("admin/menu");}
<table>
<tr class="old"><td>ID</td><td>成员ID</td><td>标题</td><td>投票介绍</td><td>添加时间</td><td>操作</td></tr>
{loop $arrVote $key $item}
<tr>
<td>{$item['voteid']}</td>
<td>{$item['userid']}</td>
<td><a target="_blank" href="{tsUrl('vote','show',array('id'=>$item['voteid']))}">{$item['topic']}</a></td>
<td>{php echo cututf8(t($item['content']),0,40)}</td>

<td>{$item['addtime']}</td>
<td>
{if $item['ischeck']==0}
<a  href="{SITE_URL}index.php?app=vote&ac=admin&mg=vote&ts=check&id={$item['voteid']}&page={$page}">待审核</a>
{else}
<a href="{SITE_URL}index.php?app=vote&ac=admin&mg=vote&ts=uncheck&id={$item['voteid']}&page={$page}">已审核</a>
{/if}

/
<a href="{SITE_URL}index.php?app=vote&ac=admin&mg=vote&ts=delete&id={$item['voteid']}&page={$page}">
删除
</a>
</td>
</tr>
{/loop}
<div class="page">{$pageUrl}</div>
</table>
</div>

{php include template("admin/footer");}